<?php
//use Illuminate\Support\Facades\Schema;
use Jialeo\LaravelSchemaExtend\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateBlogConfigsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('blog_configs', function (Blueprint $table) {
			$table->comment = '博客配置表';
            $table->increments('id')->comment('博客配置ID');
			$table->string('name')->default('')->comment('博客名称');
			$table->string('username')->default('')->comment('姓名');
			$table->string('profession')->default('')->comment('职业');
			$table->string('experience')->default('')->comment('工作经验');
			$table->string('location')->default('')->comment('现居');
			$table->string('map_key')->default('')->comment('腾讯地图KEY');
			$table->string('email')->default('')->comment('Email');
			$table->string('email_key')->default('')->comment('Email代码');
			$table->string('qq')->default('')->comment('QQ');
			$table->string('weixin')->default('')->comment('微信号');
			$table->integer('weixin_pic')->comment('微信二维码');
			$table->integer('gz_pic')->comment('微信公众号二维码');
			$table->integer('q_pic')->comment('微信群二维码');
			$table->text('content')->comment('自我介绍');
			$table->string('statement')->comment('声明');
			$table->string('description')->default('')->comment('SEO描述');
			$table->string('keywords')->default('')->comment('SEO关键词');
			$table->string('baidu_url')->comment('百度seo的url');
			$table->string('baidu_key')->comment('百度seo的key');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('blog_configs');
    }
}
